delete

suspend fun delete(recursive: Boolean = false)

Delete this path.

If recursive is false but this is a directory and has children, throws.

Sources

js source
Link copied to clipboard